package com.hee.erp.modules.service;

import com.hee.erp.modules.entity.AuditFlow;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hee.erp.modules.entity.WfMain;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author weizehong
 * @since 2022-05-18
 */
public interface IAuditFlowService extends IService<AuditFlow> {

    void saveDetail(String routeMenu,String auditMainId);

    List<AuditFlow> listAuditNodeByMainId(String auditMainId);

    AuditFlow getAuditingUserByMainId(String auditMainId);

    void audit(AuditFlow auditFlow);

    AuditFlow getByParentId(String parentId);

    AuditFlow getStartNodeByMainId(String auditMainId);
}
